#ifndef APP_MAIN_H
#define APP_MAIN_H

#ifdef _WIN32
# include <wtypes.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib/gstdio.h>

#include "../doc/protocol_api.h"
#include "../common/sockio.h"
#include "../common/util_list_ctrl.h"
#include "../common/util_packet.h"
#include "main-server.h"

#define SERVER_NAME         "SimpMainServer"
#define SERVER_VER          0x00000001
#define	LOG_ACCESS_PATH	    "access.log"
#define	LOG_DEBUG_PATH	    "debug.log"

#ifdef __cplusplus
extern "C" {
#endif

extern FILE                 *log_access,
                            *log_debug;

#ifdef __cplusplus
} /* extern "C" */
#endif
#endif	// APP_MAIN_H
